3D Graphics Programming with QuickDraw 3D 1.5.4
Previous | QD3D Book | Overview | Chapter Contents | Next |
Boolean isOn
Float32 intensity
ColorRGB color
A light data object specifies the color and source intensity of a parent light, and whether that light is currently active or inactive. A light object that does not have a light data object as a child object should be given the default values indicated below.
A value of less than 1.0 in the intensity field of a light data object affects the color of the parent light.
A light data object always has a parent object; the parent object is always a light object.
Container (
AmbientLight ( )
LightData (
True # is on
0.75 # intensity
0.7 0.3 0.4 # color
)
)
Previous | QD3D Book | Overview | Chapter Contents | Next |